<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻列表</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .box {
            width: 320px;
            height: 220px;
            border: 1px solid #696464;
            /* 块级盒子水平居中 */
            margin: 0 auto;
            margin-top: 100px;
            padding: 20px;
            background-image: url(src/line.jpg);
        }

        .box h2 {
            border-bottom: 1px solid #a39c9c;
            text-align: center;
            font-size: 20px;
            padding-bottom: 5px;
        }

        .box ul li a {
            text-decoration: none;
            color: #333333;
            /* margin-left: 20px; */
            /* padding-left: 20px; */
        }

        .box ul li {
            list-style: none;
            line-height: 30px;
            border-bottom: 1px dashed #cccccc;
            font-size: 13px;
            /* no-repeat 图片不平铺 */
            background: url(src/arr.jpg) no-repeat;
            background-position: 5px center;
            padding-left: 20px;
        }
        .box ul li a:hover{
            text-decoration: underline;
        }

    </style>
</head>

<body>
    <div class="box">
        <h2>
            最新文章/New Article
        </h2>
        <ul>
            <li><a href="#">北京招聘网页设计</a></li>
            <li><a href="#">体验JavaScript的魅力</a></li>
            <li><a href="#">jquery世界来临</a></li>
            <li><a href="#">网页设计师的梦想</a></li>
            <li><a href="#">jquery中的链式编程是什么</a></li> 
        </ul>
    </div>
</body>

</html>